<?php 
	foreach ($companyPosts as $item) {
?>
	<div class="tab-detail">
	  <div class="detail-one">
			<a href="/detail/<?php echo $item['Post']['short_url']?>">
				<img src="/<?php echo $item['Post']['image_icon']?>"/>
			</a>
		</div>
		<div class="detail-two">
			<div class="detail-title">
				<a href="/detail/<?php echo $item['Post']['short_url']?>"><?php echo $item['Post']['title_vn']?></a>
			</div>
			<div class="detail-price">
				<?php echo number_format($item['Post']['price']);?> VNĐ
			</div>
			<div class="detail-info">
				<a href="/detail/<?php echo $item['Post']['short_url']?>"><?php echo $item['Post']['content']?></a>
			</div>
		</div>
		<div class="detail-three">
			<?php echo $item['Post']['created_at']?>
		</div>
	</div>
<?php
	}
?>